package com.xuan.factory.method;

/**
 * 生产电脑的工厂
 */
public class ComputerFactory implements DeviceFactory{
    @Override
    public Device createDevice() {
        return new Computer();
    }
}
